import {
  get,
  post,
  //postForm,
  del
} from '@/utils/http'
const packageName = `http://124.70.196.178:8080/intelligent_control_webservice_eeds`

/**
 * 工艺参数分类
 */
// 获取全部工艺参数分类
export function getTechnologyParamClasss(params) {
  return get(`${packageName}/pc/technologyParamClass/getTechnologyParamClasss`, params)
}
// 获取工艺参数分类列表
export function getTechnologyParamClassList(params) {
  return get(`${packageName}/pc/technologyParamClass/getTechnologyParamClassList`, params)
}
// 获取工艺参数分类详情
export function getTechnologyParamClass(params) {
  return get(`${packageName}/pc/technologyParamClass/getTechnologyParamClass`, params)
}
// 删除工艺参数分类
export function delTechnologyParamClass(params) {
  return del(`${packageName}/pc/technologyParamClass/delTechnologyParamClass`, params)
}
// 保存工艺参数分类
export function saveTechnologyParamClass(params) {
  return post(`${packageName}/pc/technologyParamClass/saveTechnologyParamClass`, params)
}

/**
 * 工艺设备
 */
// 获取全部工艺设备
export function getTechnologyDevices(params) {
  return get(`${packageName}/pc/technologyDevice/getTechnologyDevices`, params)
}
// 获取工艺设备列表
export function getTechnologyDeviceList(params) {
  return get(`${packageName}/pc/technologyDevice/getTechnologyDeviceList`, params)
}
// 获取工艺设备详情
export function getTechnologyDevice(params) {
  return get(`${packageName}/pc/technologyDevice/getTechnologyDevice`, params)
}
// 删除工艺设备
export function delTechnologyDevice(params) {
  return del(`${packageName}/pc/technologyDevice/delTechnologyDevice`, params)
}
// 保存工艺设备
export function saveTechnologyDevice(params) {
  return post(`${packageName}/pc/technologyDevice/saveTechnologyDevice`, params)
}

/**
 * 工艺设备参数
 */
// 获取全部工艺设备参数
export function getTechnologyDeviceParams(params) {
  return get(`${packageName}/pc/technologyDeviceParam/getTechnologyDeviceParams`, params)
}
// 获取工艺设备参数列表
export function getTechnologyDeviceParamList(params) {
  return get(`${packageName}/pc/technologyDeviceParam/getTechnologyDeviceParamList`, params)
}
// 获取工艺设备参数详情
export function getTechnologyDeviceParam(params) {
  return get(`${packageName}/pc/technologyDeviceParam/getTechnologyDeviceParam`, params)
}
// 删除工艺设备参数
export function delTechnologyDeviceParam(params) {
  return del(`${packageName}/pc/technologyDeviceParam/delTechnologyDeviceParam`, params)
}
// 保存工艺设备参数
export function saveTechnologyDeviceParam(params) {
  return post(`${packageName}/pc/technologyDeviceParam/saveTechnologyDeviceParam`, params)
}

/**
 * 工艺监控
 */
// 获取工艺监控列表
export function getTechnologyDeviceMonitorList(params) {
  return get(`${packageName}/pc/technologyDeviceMonitor/getTechnologyDeviceMonitorList`, params)
}
// 获取工艺监控详情
export function getTechnologyDeviceMonitor(params) {
  return get(`${packageName}/pc/technologyDeviceMonitor/getTechnologyDeviceMonitor`, params)
}
// 删除工艺监控
export function delTechnologyDeviceMonitor(params) {
  return del(`${packageName}/pc/technologyDeviceMonitor/delTechnologyDeviceMonitor`, params)
}
// 保存工艺监控
export function saveTechnologyDeviceMonitor(params) {
  return post(`${packageName}/pc/technologyDeviceMonitor/saveTechnologyDeviceMonitor`, params)
}

/**
 * 工艺台账计划
 */
// 获取工艺台账计划列表
export function getTechnologyStandBookPlanList(params) {
  return get(`${packageName}/pc/technologyStandBookPlan/getTechnologyStandBookPlanList`, params)
}
// 获取工艺台账计划详情
export function getTechnologyStandBookPlan(params) {
  return get(`${packageName}/pc/technologyStandBookPlan/getTechnologyStandBookPlan`, params)
}
// 删除工艺台账计划
export function delTechnologyStandBookPlan(params) {
  return del(`${packageName}/pc/technologyStandBookPlan/delTechnologyStandBookPlan`, params)
}
// 保存工艺台账计划
export function saveTechnologyStandBookPlan(params) {
  return post(`${packageName}/pc/technologyStandBookPlan/saveTechnologyStandBookPlan`, params)
}
// 启用禁用工艺台账计划
export function openOrCloseTechnologyStandBookPlan(params) {
  return post(`${packageName}/pc/technologyStandBookPlan/openOrCloseTechnologyStandBookPlan`, params)
}

/**
 * 工艺标注
 */
// 获取工艺标注列表
export function getTechnologyDeviceLabels(params) {
  return get(`${packageName}/pc/technologyDeviceLabel/getTechnologyDeviceLabels`, params)
}
// 删除工艺标注
export function delTechnologyDeviceLabel(params) {
  return del(`${packageName}/pc/technologyDeviceLabel/delTechnologyDeviceLabel`, params)
}
// 保存工艺标注
export function saveTechnologyDeviceLabel(params) {
  return post(`${packageName}/pc/technologyDeviceLabel/saveTechnologyDeviceLabel`, params)
}
